package com.ruoyi.cash.domain.persistantobject.pay;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单支付信息表
 * </p>
 *
 * @author lzq
 * @since 2024-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cash_pay")
public class PayPO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 交易编号，唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 业务单元编号
     */
    private Integer segNo;

    private Long orderId;

    /**
     * 顾客编号
     */
    private String memberId;

    /**
     * 交易时间
     */
    private LocalDateTime transactTime;

    /**
     * 支付方式
     */
    private String paymentType;

    /**
     * 交易总价
     */
    private BigDecimal totalPrice;

    /**
     * 发票号码
     */
    private String invoiceNumber;

    /**
     * 是否为退货交易
     */
    private Boolean isReturn;

    /**
     * 收银员编号
     */
    private String cashierId;


}
